<div ng-include="sys_html('layout/_header')"></div>

<div class="ncm-container">

     <div ng-include="sys_html('layout/member/left-layout')"></div> 

    <div class="right-layout">

        <div class="wrap">

             <div ng-include="sys_html('layout/member/tabmenu')"></div> 
			<div class='fui-content' >
				<div class='content-empty' ng-if="pagedata.list=='' || pagedata.list==null">
				<i class='icon icon-location'></i>
				<br/>您还没有任何收货地址
			</div>
			
			<div ng-repeat="address pagedata.list " class="fui-list-group address-item" style='margin-top:0.5rem;'
				 data-addressid="{{address.id}}">
				<div  class="fui-list" >
					<div class="fui-list-inner">
						<div class="title"><span class='realname'>{{address.name}}</span> <span class='mobile'>{{address.mobile}}</span></div>
						<div class="text">
							<span class='address'>{{address.province}}{{address.city}}{{address.area}} {{address.address}}</span>
						</div>
						<div class='bar' >
							<span class='pull-right'>
								<a ng-click="access_json('/member.address/post/id='+address.id)"  data-nocache="true">
								<i class='icon icon-edit2'></i> 编辑
								</a>
								&nbsp;&nbsp;
								<a data-toggle='delete' class='external'>
								<i class='icon icon-delete'></i> 删除
								</a>
							</span>

							<label class='radio-inline'>
								<input type="radio" name='setdefault' data-toggle='setdefault'  class="fui-radio  fui-radio-danger" ng-checked="pagedata.address.isdefault==1" /> 设置默认
							</label>
						</div>
					</div>
				</div>
			</div>
			
		</div>
		<a  ng-click="access_json('/member.address/post/')"  class="btn  btn-danger-o btn-edit" ><i class="icon icon-add"></i> 新建地址</a>
	</div>
</div>
<div ng-include="sys_html('layout/_footer')"></div>